package org.begincode.resource.service;

import java.util.List;
import org.begincode.core.model.Resource;
import org.begincode.core.paginator.domain.PageList;
import org.begincode.core.paginator.domain.Paginator;

public abstract interface ResourceService
{
    public abstract PageList findResourcesByRecords(Resource paramResource, Paginator paramPaginator);

    public abstract PageList findResourcesByRecord(Resource paramResource);

    public abstract Resource findResourceById(int paramInt);

    public abstract PageList findResources(Paginator paramPaginator);

    public abstract Resource createResource(Resource paramResource);

    public abstract void updateAddCountById(Resource paramResource);

    public abstract void batchUpdateAddCountById(List<Resource> paramList);

    public abstract int updateByPrimaryKeySelective(Resource paramResource);

    public abstract int updateByPrimaryKeyWithBLOBs(Resource paramResource);

    public abstract int updateByPrimaryKey(Resource paramResource);
}